const http = uni.$u.http
import config from '@/common/config.js'

// 查询订单列表
const getOrderList = (data) => {
	const url = `/dyOrder/findOrderMallList/v1.0`
	return http.post(url, data, {})
}

// /getOrderMallById  查询订单
const getOrderMallById = (data) => {
	const url = `/orderMall/getOrderMallById/v1.0`
	return http.post(url, data, {})
}

// /updateOrder  更新订单
const updateOrder = (data) => {
	const url = `/dyOrder/updateOrder`
	return http.post(url, data, {})
}

export default {
	getOrderList,
	updateOrder,
	getOrderMallById
}